namespace ProxyServer;

public static class ConfigurationExtensions
{
    
    public static string? GetDatabaseProvider(this IConfiguration? configuration)
        => configuration?.GetSection("DatabaseProvider")?.Value;

    public static string? GetConnectionName(this IConfiguration? configuration)
        => configuration?.GetSection("ConnectionName")?.Value;
}